/**
 * @description 根据icon名字，显示icon jsx组件
 */

import Icons from "./index"
function AbIcon({ iconName, className }) {

  let IconCom = Icons[iconName]

  if (!IconCom) {
    return null
  }
  return <IconCom className={className} />
}

export default AbIcon